home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00b.txt / 000057_icon-group-sender _Mon Sep 25 08:14:05 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  4KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA09393
  4.     for icon-group-addresses; Mon, 25 Sep 2000 08:12:25 -0700 (MST)
  5. Message-Id: <200009251512.IAA09393@baskerville.CS.Arizona.EDU>
  6. From: rohan@micom.asn.au
  7. Date: Mon, 25 Sep 2000 12:55:38 +1100 (EST)
  8. To: Leonard <no@email.yet>
  9. cc: icon-group@optima.CS.Arizona.EDU
  10. Subject: newbie questions 
  11. Content-ID: <Pine.LNX.3.96.1000905173538.6463D@micom.asn.au>
  12. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  13. Status: RO
  14. Content-Length: 3533
  15.  
  16.  
  17. Leonard; since you don't seem to be getting much attention from
  18. the resident guru's and the list doesn't seem to have enormous
  19. traffic;I thought I might share my understandings on some of the 
  20. matters you have raised....the blind leading the blind!
  21. Who knows it may even stimulate a responce 
  22.  
  23. On Sat, 2 Sep 2000, Leonard wrote:
  24.  
  25. > Hello;
  26. > I have some experience programming in Fortran, but would now like to do
  27. > some windows gui programming in a more modern language.
  28. The executables that come "out" of Icon are for a command line interface;
  29. you would seem to need something called "VIB " if you want gui.
  30.  
  31. > >From what I have read, I like Icon's strings processing features, as
  32. > well as the fact that the size of strings / lists do not have to be
  33. > specified when writing a program.  now...
  34. [A> Can an Icon program be compiled into a stand-alone executable, to be
  35. > used on computers without Icon installed?
  36.  
  37. In the past (say prior to ver 8.7 see insert (1)below) there were two
  38. ways of producing an executable:
  39.  1/via the Icon compiler "iconc" (see Ipd191.doc)."iconc" would convert
  40.    the source code to the language "C" which could then be compiled to
  41.    to an executable via a suitable "C" compiler(either manually or by
  42.    a command line switch.)Whether this intermediate step was for cross-
  43.    platform accessibility or to avoid having to write a "*.icn->*.exe"
  44.    compiler or both... I don't know.
  45.    Anyway iconc is now no longer supported.(see insert (2)below)
  46.  2/via an attached interpreter which means that your smallest program
  47.    is about 300k(compare Icon9\bin\noname.exe 310kb with
  48.    Icon\bin\noname.icn 1kb)
  49. ps One of the reasons I am still a novice Icon programmer is because it
  50.    has no direct  "*.icn->*.exe" compiler! 
  51. ..........................................................insert (1)
  52. >From - Thu Jun 01 12:47:45 2000
  53. rohan@micom.asn.au
  54. Subject: Re: silly question about iconc
  55.  
  56.     what systems is an Icon compiler available for and
  57.     where (URL?) can I find binaries ?
  58.  
  59. Because of limited resources, we no longer support the compiler or produce
  60. binaries for it.  Most people found that using the compiler wasn't worth
  61. the extra compliation time or the hassles involved.
  62.  
  63.    Gregg Townsend         Staff Scientist      The University of Arizona
  64.    gmt@cs.arizona.edu     Computer Science     Tucson, Arizona, USA
  65. ..........................................................insert (1)
  66.  
  67. ..........................................................insert (2)
  68. 3.__Differences_in_Language_Features
  69.  
  70.    The compiler is designed to be compatible with the interpreter
  71. for Version 8.7 of Icon. This goal cannot be completely realized
  72. because several features of the language make optimizations dif-
  73. ficult. Those features that cause problems and are not considered
  74. essential to the language have either been removed or made avail-
  75. able only through compiler options.
  76.  
  77.    Debugging, string invocation, linking code from other Icon
  78. programs, and external functions are handled somewhat differently
  79.  
  80.  
  81.  
  82. IPD191a                       - 4 -                  July 4, 1992
  83.  
  84.  
  85. ..........................................................insert (2)
  86. > If so...
  87. > How much memory overhead does the Icon interpreter have?
  88. > How does the program execution speed compare to a similar program
  89. > written in C++ or Java?
  90. >
  91. Checkout http://www.idiom.com/free-compilers
  92.  
  93.  
  94. > Are there files system functions to check for the existence of, copy,
  95. > move and rename specified files / folders? 
  96. > Thanks
  97. > Leonard
  98.  
  99.